{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    <!--<form class="mb-20" method="get" action="{:\\think\\Url::build($Request.action)}">
    	<input type="text" class="input-text" style="width:250px" placeholder="活动标题" name="title" value="{$Request.param.title}">
        <button type="submit" class="btn btn-success"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
    </form>-->
    <div class="cl pd-5 bg-1 bk-gray">
        <!--<span class="l">
            {tp:menu menu="add" /}
        </span>-->
        <span class="r pt-5 pr-5">
            共有数据 ：<strong>{$count}</strong> 条
        </span>
    </div>
    <table class="table table-border table-bordered table-hover table-bg mt-20">
        <thead>
        <tr class="text-c">
            <th width="80">ID</th>
            <th width="80">用户名</th>
            <th width="80">提现金额</th>
            <th width="80">收到红包</th>
            <th width="80">发出红包</th>
            <th width="80">金额变更时间</th>
            <th width="80">平台</th>
            <th width="80">好友</th>
            
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
        <tr class="text-c">
            <td>{$vo.id}</td>
            <td>{$vo.name}</td>
            <td>{if $vo.status eq 0}{$vo.money}{else}/{/if}</td>
            <td>{if $vo.status eq 1}{$vo.money}{else}/{/if}</td>
            <td>{if $vo.status eq 2}{$vo.money}{else}/{/if}</td>
            <td>{$vo.create_time}</td>
            <td>{if $vo.user_id eq $vo.friend_id}{if $vo.is_where eq 1}支付宝{elseif $vo.is_where eq 2}微信{/if}{else}/{/if}</td>
            <td>{if $vo.user_id eq $vo.friend_id}/{else}{$vo.fname}{/if}</td>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="page-bootstrap">{$page}</div>
</div>
{/block}